package com.ruoyi.points.pointsAccess.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 获取方式分类对象 points_access
 * 
 * @author ruoyi
 * @date 2025-01-07
 */
public class PointsAccess extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键自增 */
    @Excel(name = "主键自增")
    private Long id;

    /** 获取方式名称 */
    @Excel(name = "获取方式名称")
    private String accessName;

    /** 每次获取分值 */
    @Excel(name = "每次获取分值")
    private Integer quantity;

    /** 逻辑删除 */
    private Integer isDeleted;

    /** 单日可获取次数 */
    @Excel(name = "单日可获取次数")
    private Integer count;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAccessName(String accessName) 
    {
        this.accessName = accessName;
    }

    public String getAccessName() 
    {
        return accessName;
    }
    public void setQuantity(Integer quantity)
    {
        this.quantity = quantity;
    }

    public Integer getQuantity()
    {
        return quantity;
    }
    public void setIsDeleted(Integer isDeleted)
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted()
    {
        return isDeleted;
    }
    public void setCount(Integer count)
    {
        this.count = count;
    }

    public Integer getCount()
    {
        return count;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("accessName", getAccessName())
            .append("quantity", getQuantity())
            .append("isDeleted", getIsDeleted())
            .append("count", getCount())
            .toString();
    }
}
